package tech.yixiyun.framework.kuafu.component.register;


import tech.yixiyun.framework.kuafu.boot.bootedhandler.IBootedHandler;
import tech.yixiyun.framework.kuafu.boot.bootedhandler.BootedHandlerContext;

/**
 * ControllerInterceptor类解析器
 */
public class BootedHandlerComponentRegistrar implements IComponentRegistrar {
    @Override
    public void register(Class clazz) {

        if (IBootedHandler.class.isAssignableFrom(clazz)) {
            BootedHandlerContext.register(clazz);
        }
    }
}
